<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>添加-- 后台管理 </title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">

	<div class="layui-form-item layui-row layui-col-xs12"        style="display: none" >
		<label class="layui-form-label">id</label>
		<div class="layui-input-block">
			<!--  style="display: none" -->
			<input id="informationId" type="text" class="layui-input userId"  style="display: none"    >
		</div>
	</div>
	<input id="roleId" type="text" class="layui-input userId"  style="display: none"    placeholder="标题">
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">标题</label>
		<div class="layui-input-block">
			<input id="title" type="text" class="layui-input userName" lay-verify="required" placeholder="请输入">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">内容</label>
		<div class="layui-input-block">
			<textarea id="detail"  name=""     placeholder="请输入" class="layui-textarea"></textarea>
		</div>
	</div>


	</div>
	<div class="layui-col-md3 layui-col-xs12 user_right">
		<label class="layui-form-label">资讯图片</label>
		<div class="layui-upload-list" id="imgBig">
			<img class="layui-upload-img   " id="userFace">
		</div>
		<button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i>  </button>
		<p>上传</p>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addUser">立即添加</button>
			<button  type="reset" class="layui-btn layui-btn-sm layui-btn-primary">重置数据</button>
			<!--<button id="cancel"  class="layui-btn layui-btn-sm layui-btn-primary"  lay-filter="cancel"
			>返回</button>-->
		</div>
	</div>
</form>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="informationAdd.js"></script>
</body>
</html>